lookAtPoint

open fun lookAtPoint(@NonNull() location: Point)

Helper function for setting orientation of the camera by defining a focus point.Elevation of 0.0 is used and no up vector.

Parameters

location

The `coordinate` representing focal point.

open fun lookAtPoint(@NonNull() location: Point, altitude: Double)

Helper function for setting orientation of the camera by defining a focus point.No up vector is used.

Parameters

location

The `coordinate` representing focal point.

altitude

The altitude in meters of the focal point.

open fun lookAtPoint(@NonNull() location: Point, altitude: Double, @NonNull() upVector: Vec3)

Helper function for setting orientation of the camera by defining a focus point.Up vector is required in certain scenarios where bearing can't be deduced fromthe viewing direction.

Parameters

location

The `coordinate` representing focal point.

altitude

The altitude in meters of the focal point.

upVector

The up vector.